public class Test {

    String a="dhifhf";
    String b;

    public Test(){

        b=a;


    }

    public void test1(){

        System.out.println("haha");
    }

//    public static void main(String[] args) {
//        Test t=new Test();
//        System.out.println(t.b);
//    }

}

class TT extends Test {
    String A="AAAA";

    public static void main(String[] args) {
      new Test(){}.test1();
        System.out.println(new Test() {
        }.b);
    }


        }
